home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2001 March / PC-WELT 3-2001.ISO / software / sw / utilities / proxn4.exe / default.cfg < prev    next >
Encoding:
Text File  |  2000-08-12  |  14.7 KB  |  613 lines

  1. ##
  2. ## Proxomitron Config File
  3. ##
  4.  
  5. [Global]
  6. Enable = TRUE
  7. FreezeGIF = TRUE
  8. FilterHTML = TRUE
  9. FilterHeadersOut = TRUE
  10. FilterHeadersIn = TRUE
  11. EnableProxy = FALSE
  12. EnableAutoRun = FALSE
  13. ForceTextures = FALSE
  14. NoTextures = FALSE
  15. SysTray = TRUE
  16. UseSSLeay = FALSE
  17. Port = 8080
  18.  
  19. [Blocklists]
  20. List.AdList = "..\URL Killfile.txt"
  21. List.NoImages = "..\Kill Images.txt"
  22. List.CookieList = "..\AllowCookies.txt"
  23. List.AdKeys = "..\Keyword list.txt"
  24. List.JumpList = "..\URL Alias List.txt"
  25. List.MIME-List = "..\MIME Fix List.txt"
  26.  
  27. [HTTP headers]
  28. In = FALSE
  29. Out = TRUE
  30. Key = "Accept-encoding: prevent webpage encoding (out)"
  31. Match = "*"
  32.  
  33. In = FALSE
  34. Out = FALSE
  35. Key = "Authorization: Example password entry (out)"
  36. URL = "www.needspassword.com/this/area/protected.html"
  37. Replace = "basic bWljaGllOm5lb24temVicmE="
  38.  
  39. In = FALSE
  40. Out = FALSE
  41. Key = "Cache-Control: allways cache (in)"
  42. Match = "*"
  43.  
  44. In = FALSE
  45. Out = FALSE
  46. Key = "Connection: Close all connections (In+Out)"
  47. Replace = "close"
  48.  
  49. In = TRUE
  50. Out = FALSE
  51. Key = "Content-Type: character set filter (in)"
  52. Match = "text/html;*charset*"
  53. Replace = "text/html"
  54.  
  55. In = FALSE
  56. Out = FALSE
  57. Key = "Content-Type: Show contents of .pac files"
  58. Match = "application/x-ns-proxy-autoconfig"
  59. Replace = "text/plain"
  60.  
  61. In = FALSE
  62. Out = FALSE
  63. Key = "Content-Type: View RealAudio links"
  64. Match = "*realaudio*"
  65. Replace = "text/html"
  66.  
  67. In = TRUE
  68. Out = FALSE
  69. Key = "Content-Type: Fix MIME types (In)"
  70. Match = "text/plain$URL([^/]+*.([a-z0-9]+{2,5}(^?)&$LST(MIME-List)))"
  71. Replace = "\0"
  72.  
  73. In = FALSE
  74. Out = FALSE
  75. Key = "Cookie: Fake a cookie (out)"
  76. Match = "*"
  77. Replace = "monster"
  78.  
  79. In = FALSE
  80. Out = FALSE
  81. Key = "Cookie: Kill a cookie (out)"
  82. Match = "*"
  83.  
  84. In = FALSE
  85. Out = FALSE
  86. Key = "Expires: allways cache (in)"
  87. Match = "*"
  88.  
  89. In = FALSE
  90. Out = FALSE
  91. Key = "Forwarded:"
  92. Replace = "\h"
  93.  
  94. In = FALSE
  95. Out = FALSE
  96. Key = "If-Modified-Since: Always reload pages (Out)"
  97. Match = "*"
  98.  
  99. In = FALSE
  100. Out = FALSE
  101. Key = "Last-Modified: (In)"
  102. Match = "*"
  103.  
  104. In = FALSE
  105. Out = FALSE
  106. Key = "Pragma: Don't force reloads"
  107. Match = "no-cache"
  108.  
  109. In = FALSE
  110. Out = FALSE
  111. Key = "Proxy-Authorization: Send password to proxy server"
  112. Replace = "basic cHJveHl1c2VyOnByb3h5cGFzcw=="
  113.  
  114. In = FALSE
  115. Out = TRUE
  116. Key = "Referer: Hide where we've been (Out)"
  117. Match = "*"
  118. Replace = "\u"
  119.  
  120. In = FALSE
  121. Out = FALSE
  122. Key = "Set-cookie: Never accept cookies (In)"
  123. Match = "*"
  124.  
  125. In = FALSE
  126. Out = FALSE
  127. Key = "Set-cookie: Make all cookies session only"
  128. URL = "(^$LST(CookieList))"
  129. Match = "\1expires=(*;\2|)"
  130. Replace = "\1\2"
  131.  
  132. In = FALSE
  133. Out = FALSE
  134. Key = "URL: Un-Prefixer (Out)"
  135. Match = "[^\]+\w[^a-z]((http|ftp)[^.&]+)\1"
  136. Replace = "$JUMP($UESC(\1))"
  137.  
  138. In = FALSE
  139. Out = TRUE
  140. Key = "URL: Alias Redirector (Out)"
  141. URL = ".$LST(JumpList)"
  142.  
  143. In = FALSE
  144. Out = FALSE
  145. Key = "URL: Enable Netscape Keywords (Out)"
  146. URL = "[^./]+/(^?)&\w[a-z]&$RDIR(http://keyword.netscape.com/keyword/\h)"
  147.  
  148. In = FALSE
  149. Out = TRUE
  150. Key = "URL-Killer: kill-a-URL (out)"
  151. URL = "$LST(AdList)"
  152. Replace = "URL killed \k"
  153.  
  154. In = FALSE
  155. Out = FALSE
  156. Key = "User-Agent:"
  157. Match = "*"
  158. Replace = "SpaceBison/0.01 [fu] (Win67; X; ShonenKnife)"
  159.  
  160. In = FALSE
  161. Out = FALSE
  162. Key = "WWW-Authenticate: filter out password requests (in)"
  163. Match = "Basic*realm="*""
  164.  
  165. In = FALSE
  166. Out = FALSE
  167. Key = "X-Forwarded-For:"
  168. Replace = "yahoo.com, microsoft.com, netscape.com, aol.com, \h"
  169.  
  170.  
  171. [Patterns]
  172. Name = "Banner Replacer"
  173. Active = FALSE
  174. Bounds = "<a\s*</a>"
  175. Limit = 800
  176. Match = "\0<img (\1border=\w|) \2 src=\w (\3border=\w|) \4"
  177.         "&(*(href|src)=$LST(AdKeys)|"
  178.         "(*width=[#460-480] & *height=[#55-60])|"
  179.         "(*width=[#88] & *height=[#31]))*"
  180. Replace = "\0<img \1 border=1 \2 src=\dclear.gif \3 \4"
  181.  
  182. Name = "Banner Blaster (limit text)"
  183. Active = TRUE
  184. Multi = TRUE
  185. Bounds = "<a\s[^>]++href=*</a>|<input*>"
  186. Limit = 800
  187. Match = "\1<(img|image|input)*>\3"
  188.         "&(*(href|src)=$LST(AdKeys)|"
  189.         "*http://*<(img|image|input)\s(*width=[#460-480] & *height=[#55-60]|"
  190.         "*width=[#88] & *height=[#31]) *>)*"
  191.         "&(*alt="(([^'"]+{18})\2*|\2)'|$SET(2=Ad))"
  192.         "&(^*height=[#0-30])"
  193. Replace = "<center>\1<font size=1 color=red>[\2]</font>\3</center>"
  194.  
  195. Name = "Banner Blaster (full text)"
  196. Active = TRUE
  197. Multi = TRUE
  198. Bounds = "<a\s[^>]++href=*</a>|<input*>"
  199. Limit = 800
  200. Match = "\1<(img|image|input)*>\3"
  201.         "&(*(href|src)=$LST(AdKeys)|"
  202.         "*http://*<(img|image|input)\s(*width=[#460-480] & *height=[#55-60]|"
  203.         "*width=[#88] & *height=[#31]) *>)*"
  204.         "&(*alt="\2'|$SET(2=Ad))"
  205.         "&(^*height=[#0-30])"
  206. Replace = "<center>\1<font size=1 color=red>[\2]</font>\3</center>"
  207.  
  208. Name = "Area Map Ad Blaster"
  209. Active = TRUE
  210. Multi = TRUE
  211. Bounds = "<img\s[^>]+> <map\s*</map>"
  212. Limit = 800
  213. Match = "*usemap*>*"
  214.         "&*(ads.|log_click|/ad|clickthru|(banner|ad|acct|source|click)(id|)=|adbanner|clicker|sponsor|adver|promo|redirect)*"
  215.         "&*<map*<area (*href=(\w)\1 & (*alt="\2'|))*>\3</map>"
  216. Replace = "<br><killmap><font size=1><a href=\1>[\2]</a></font>\3</killmap>"
  217.  
  218. Name = "Area Map Ad Blaster pt2 (show all links)"
  219. Active = TRUE
  220. Multi = TRUE
  221. Bounds = "<killmap>*</killmap>"
  222. Limit = 800
  223. Match = "\1 <area (*href=(\w)\2 & (*alt="(?+{12})\3*|\3'|))*> \4"
  224. Replace = " \1 <font size=1><a href=\2 >[\3]</a></font> \4 "
  225.  
  226. Name = "Kill JavaScript Banners"
  227. Active = TRUE
  228. Bounds = "<script\s(*</script>|*)"
  229. Limit = 500
  230. Match = "(*[.'"](flycast|burstnet|linksynergy|hitbox.com|adbureau.net|(double|value)click|d.im.width)\1*|"
  231.         "(*document.write*<img*</a>*&*/ads/*)"
  232.         ")&*>\0"
  233. Replace = "<font size=1>[\1]</font>\r\n"
  234.           "<script language="ShonenScript">\r\n"
  235.           "\0"
  236.  
  237. Name = "Kill Hyper Banner"
  238. Active = TRUE
  239. Bounds = "<applet\s*</applet>"
  240. Limit = 5000
  241. Match = "*code=("|)(scroll|NavigatorTicker|movie|WSSApplet|hyper).class*"
  242. Replace = "<font size=1>[JavaApp Killed]</font><br>"
  243.  
  244. Name = "Counter Killer"
  245. Active = FALSE
  246. Bounds = "<img\s*>"
  247. Limit = 256
  248. Match = "\1src=("|)(\w[^a-z_](the|)count\w|http://\w(cgi-bin|\?)\w) \2"
  249. Replace = "\1 src="\dhtml/killed.gif" \2"
  250.  
  251. Name = "Kill off-site Images"
  252. Active = FALSE
  253. Multi = TRUE
  254. Bounds = "<a\s[^>]++ref=*</a>|<i(mg|nput)\s*>"
  255. Limit = 800
  256. Match = "\1<i(mg|nput)(*alt="\0"|)*>\2&*http://(^\h)"
  257.         "&(^*(width=[#0-75]|height=[#0-20]))"
  258. Replace = " \1<font size=1>[\0]</font>\2"
  259.  
  260. Name = "Kill all Images on selected pages"
  261. Active = TRUE
  262. URL = "$LST(NoImages)"
  263. Bounds = "<(img|image|input)*>"
  264. Limit = 256
  265. Match = "\1src=[^ >]+\2&(^*height=[#3:16])"
  266. Replace = "\1 border=1 "
  267.           "src="\dhtml/killed.gif" \2"
  268.  
  269. Name = "Un-Prefix URLs"
  270. Active = TRUE
  271. URL = "[^.]+.(deja|vintagegaming|lycos|snap)"
  272. Limit = 512
  273. Match = "href=?????\w[^a-z]((http|ftp)[^".'& ]+)\1[^ >]+"
  274. Replace = "href="$UESC(\1)""
  275.  
  276. Name = "Webpage Background Killer"
  277. Active = FALSE
  278. Multi = TRUE
  279. Limit = 200
  280. Match = "<body \1background=\2>"
  281. Replace = "<body \1nobak=\2>"
  282.  
  283. Name = "Webpage Background Replacer"
  284. Active = FALSE
  285. Multi = TRUE
  286. Limit = 200
  287. Match = "<body ( \1 background=\w|) \2>"
  288. Replace = "<body \1 background="\dblack.gif" \2>"
  289.  
  290. Name = "Kill All Backgrounds (even tables)"
  291. Active = FALSE
  292. Limit = 20
  293. Match = "background="
  294. Replace = "nobak="
  295.  
  296. Name = "Sounds to links"
  297. Active = FALSE
  298. Bounds = "<(embed|bgsound)\s*>"
  299. Limit = 1024
  300. Match = "*src=("*'|\w)\1&(*type=(\w)\2|$SET(2=AV-Killed))*"
  301. Replace = "<a href=\1 >[\2]</a>"
  302.  
  303. Name = "Sound Silencer"
  304. Active = FALSE
  305. Limit = 20
  306. Match = "<(embed|bgsound)\s"
  307. Replace = "<keepquiet "
  308.  
  309. Name = "Embedded MIDI Silencer"
  310. Active = FALSE
  311. Bounds = "<embed\s*>"
  312. Limit = 256
  313. Match = "*src=("*'|\w)\1*&*(.mid|midi)"
  314. Replace = "<embed src=\1 height=15 controls=smallconsole  >"
  315.  
  316. Name = "Blink Buster (Blink to Bold)"
  317. Active = TRUE
  318. Limit = 20
  319. Match = "<(/|)\1blink>"
  320. Replace = "<\1b>"
  321.  
  322. Name = "Freeze font's face"
  323. Active = FALSE
  324. Limit = 80
  325. Match = "<font\s\1face=\2>"
  326. Replace = "<font \1ecaf=\2>"
  327.  
  328. Name = "Onload unloader"
  329. Active = FALSE
  330. Limit = 20
  331. Match = "onload="
  332. Replace = "LoadOff="
  333.  
  334. Name = "OnUnload unloader"
  335. Active = TRUE
  336. Multi = TRUE
  337. Bounds = "<body\s*>"
  338. Limit = 300
  339. Match = "\1 onunload=\2"
  340. Replace = "\1 UnLoadOff=\2"
  341.  
  342. Name = "Kill All pop-up windows"
  343. Active = TRUE
  344. Limit = 4096
  345. Match = "<start>"
  346. Replace = "<script> "
  347.           "PrxRealOpen=window.open; "
  348.           "function PrxNullWin(){this.window;} "
  349.           "function PrxOpen(url,nam,atr){return(new PrxNullWin());} "
  350.           "window.open=PrxOpen;"
  351.           "</script>\r\n"
  352.  
  353. Name = "Restore pop-up windows after page loads"
  354. Active = TRUE
  355. Limit = 256
  356. Match = "<end>"
  357. Replace = "<script> window.open=PrxRealOpen; </script>\r\n"
  358.  
  359. Name = "Link De-Obfuscator"
  360. Active = TRUE
  361. Limit = 50
  362. Match = "onmouseover=("*.status=)\1"
  363. Replace = "nomouseover=\1"
  364.  
  365. Name = "Anti-Auto-Refresher"
  366. Active = FALSE
  367. Bounds = "<meta\s*>"
  368. Limit = 256
  369. Match = "*http-equiv=("|)refresh*content=("|) [#2:10000](*url=("|)([^"' ]+)\1|)*"
  370. Replace = "<center><font size=1><a href=\1 >[Refresh]</a></font></center>"
  371.  
  372. Name = "Wordwrap all form textboxes"
  373. Active = FALSE
  374. Limit = 128
  375. Match = "<textarea\s\1>"
  376. Replace = "<textarea wrap=soft \1>"
  377.  
  378. Name = "GeoCities branding killer"
  379. Active = FALSE
  380. URL = "*.geocities."
  381. Limit = 2500
  382. Match = "<div class="geobranding*</script>"
  383. Replace = "<font size=1>[GeoBrand killed]</font>"
  384.  
  385. Name = "Kill add-on JavaScripts "
  386. Active = TRUE
  387. Multi = TRUE
  388. Limit = 1024
  389. Match = "</body>\1<script*</script>"
  390. Replace = "<font size=1>[PostScript Killed]</font><br>\r\n"
  391.           "</body>\1\r\n"
  392.  
  393. Name = "Suppress all JavaScript errors"
  394. Active = TRUE
  395. Limit = 4096
  396. Match = "<start>"
  397. Replace = "<script> function NoError(){return(true);} onerror=NoError; </script>\n"
  398.  
  399. Name = "Kill alert/confirm boxes"
  400. Active = TRUE
  401. Limit = 4096
  402. Match = "<start>"
  403. Replace = "<script> "
  404.           "function NoBox(txt){ return(1);} "
  405.           "window.alert=NoBox; window.confirm=NoBox; window.prompt=NoBox;"
  406.           "function submit(){return(NULL);}"
  407.           "</script>\n"
  408.  
  409. Name = "Stop browser window resizing"
  410. Active = TRUE
  411. Limit = 4096
  412. Match = "<start>"
  413. Replace = "<script> "
  414.           "function moveTo(){return true;}"
  415.           "function resizeTo(){return true;}"
  416.           "</script>\n"
  417.  
  418. Name = "Stop status bar scrollers"
  419. Active = FALSE
  420. Limit = 4096
  421. Match = "<start>"
  422. Replace = "<script> function status(txt){return(1);} </script>\n"
  423.  
  424. Name = "Kill Dynamic HTML JavaScripts"
  425. Active = FALSE
  426. Limit = 4096
  427. Match = "<start>"
  428. Replace = "<script> function NoWrite(txt){return(1);} "
  429.           "document.write=NoWrite; "
  430.           "document.writeln=NoWrite; "
  431.           "</script>\n"
  432.  
  433. Name = "Stop JavaScript Timers"
  434. Active = FALSE
  435. Limit = 4096
  436. Match = "<start>"
  437. Replace = "<script> function setTimeout(x,y){return(null);} </script>\n"
  438.  
  439. Name = "Disable JavaScript"
  440. Active = FALSE
  441. Limit = 256
  442. Match = "<script*>"
  443. Replace = "<script language="ShonenScript 712.0">"
  444.  
  445. Name = "Kill Nosey JavaScripts"
  446. Active = FALSE
  447. Bounds = "<script*</script>"
  448. Limit = 16000
  449. Match = "*(.(referrer|plugins|cookie|colorDepth|pixelDepth|external)|history.length)*"
  450. Replace = "<!-- Killed Nosey JavaScript -->"
  451.  
  452. Name = "Disable JavaScript (and meta) cookies"
  453. Active = FALSE
  454. URL = "(^$LST(CookieList))"
  455. Limit = 128
  456. Match = ".cookie(*[(;)=])\1|http-equiv="Set-Cookie""
  457. Replace = ".Cracker\1"
  458.  
  459. Name = "Hide Browser's Referrer from JS"
  460. Active = TRUE
  461. Limit = 15
  462. Match = ".referrer"
  463. Replace = ".referrer.substr(0,0)+"http://www.mmjp.or.jp/knife/""
  464.  
  465. Name = "Hide Browser's Version from JS"
  466. Active = FALSE
  467. Limit = 25
  468. Match = "navigator.appVersion"
  469. Replace = "'2.1'"
  470.  
  471. Name = "Hide Browser's Identity from JS"
  472. Active = FALSE
  473. Limit = 25
  474. Match = "navigator.(appName|userAgent)"
  475. Replace = "'ShonenScape'"
  476.  
  477. Name = "Kill the worst Pop-Up windows"
  478. Active = FALSE
  479. Multi = TRUE
  480. Bounds = "<script*</script>"
  481. Limit = 1024
  482. Match = "\1(window.open|open) \(\2"
  483. Replace = "\n\1 null; foo=(\2"
  484.  
  485. Name = "Kill window.external methods"
  486. Active = TRUE
  487. Limit = 40
  488. Match = "window.external.[^(]+"
  489. Replace = "null; "
  490.  
  491. Name = "Stop OnMouseOver events"
  492. Active = FALSE
  493. Limit = 20
  494. Match = "onmouseover="
  495. Replace = "OnPheasantOver="
  496.  
  497. Name = "Frame Jumper-Outer"
  498. Active = TRUE
  499. Multi = TRUE
  500. Bounds = "<a\s*>"
  501. Limit = 128
  502. Match = "<a\s(\0http://\1&(^*_(top|blank)))"
  503. Replace = "<a target=_top \0http://\1"
  504.  
  505. Name = "Kill Style Sheets"
  506. Active = FALSE
  507. Limit = 4096
  508. Match = "<style*</style>"
  509. Replace = "<!-- style sheet killed -->"
  510.  
  511. Name = "Kill Layers"
  512. Active = TRUE
  513. Limit = 20
  514. Match = "<(/|)\1(i|)layer"
  515. Replace = "<\1PeelLayer"
  516.  
  517. Name = "iFrame/iLayer to link"
  518. Active = FALSE
  519. Bounds = "<iframe\s*</iframe>|<ilayer\s*</ilayer>"
  520. Limit = 1000
  521. Match = "<(iframe|ilayer)\0*src=(\w)\1*"
  522. Replace = "<font size=1><a target=_blank href=\1 >[\0]</a></font>"
  523.  
  524. Name = "Frame Exploder"
  525. Active = FALSE
  526. Multi = TRUE
  527. Limit = 4096
  528. Match = "<start>"
  529. Replace = "<script> "
  530.           "if (top.location != location){"
  531.           "window.open(location.href); window.close(); "
  532.           "} </script>"
  533.  
  534. Name = "Kill top of page frame"
  535. Active = FALSE
  536. Multi = TRUE
  537. Bounds = "<frameset\s*>"
  538. Limit = 150
  539. Match = "\1 rows=("|)[#20:90] , (\*|100%)["' ] \3 "
  540. Replace = "\1 rows="0,*" \3"
  541.  
  542. Name = "Kill bottom of page frame"
  543. Active = FALSE
  544. Multi = TRUE
  545. Bounds = "<frameset\s*>"
  546. Limit = 150
  547. Match = "\1 rows=("|)\* , [#10:100]["' ] \3 "
  548. Replace = "\1 rows="*,0" \3"
  549.  
  550. Name = "Allow for frame resizing"
  551. Active = FALSE
  552. Multi = TRUE
  553. Bounds = "<frame*>"
  554. Limit = 256
  555. Match = "<(frameset|frame)\0\s \1 (frameborder=\w|noresize|border=((^("|)1)&\w)) \2 >"
  556. Replace = " <\0 \1 \2 border=1>"
  557.  
  558. Name = "DeFramer"
  559. Active = FALSE
  560. Limit = 40
  561. Match = "<(/|)\1(frameset|noframes)"
  562. Replace = "<\1NoFrameset"
  563.  
  564. Name = "Convert Frames to Links"
  565. Active = FALSE
  566. Limit = 256
  567. Match = "<frame\s*src=(\w)\1 *>"
  568. Replace = "<body><font size=2><a href=\1>Frame:\1</a></font><br></body>"
  569.  
  570. Name = "DeTabler"
  571. Active = FALSE
  572. Limit = 200
  573. Match = "<(/|)t(able|r)*>"
  574. Replace = "<p>"
  575.  
  576. Name = "Table width unlimiter"
  577. Active = FALSE
  578. Limit = 256
  579. Match = "<(table|td)\0\s\1width=[#500-*]\2>"
  580. Replace = "<\0 \1\2>"
  581.  
  582. Name = "Kill meta tags that prevent page caching"
  583. Active = TRUE
  584. Limit = 30
  585. Match = "<meta http-equiv=("|)\#(expires|pragma|cache)\#"
  586. Replace = "<moota http-ignore=\@"
  587.  
  588. Name = "Skinnier Table Border"
  589. Active = FALSE
  590. Limit = 128
  591. Match = "<table\s\1border=[#4-*]\2>"
  592. Replace = "<table \1border=3\2>"
  593.  
  594. Name = "Webpage Comment Viewer"
  595. Active = FALSE
  596. Bounds = "<!--*-->"
  597. Limit = 256
  598. Match = "<!--\1-->"
  599. Replace = "<font size=1><pre><!--\1--></pre></font>"
  600.  
  601. Name = "Foreign content-type filter"
  602. Active = FALSE
  603. Bounds = "<meta\s*>"
  604. Limit = 256
  605. Match = "*http-equiv="content-type"*charset=*"
  606. Replace = "<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">"
  607.  
  608.  
  609. [Proxies]
  610.  OpenLog = TRUE
  611.  
  612.  
  613.